#include "StdAfx.h"
#include "AnimJobUI.h"

//CAnimJobUI::CAnimJobUI()
//{
//}

CAnimJobUI::CAnimJobUI(const CAnimJobUI& src)
{
	*this = src;
}

//void CAnimJobUI::Attach(const CAnimJobUI& src)
//{
	//*this = src;
//}

CAnimJobUI::CAnimJobUI(UITYPE_ANIM AnimType,DWORD dwStartTick,DWORD dwDuration,COLORREF clrBack,COLORREF clrKey,
					   RECT rcFrom,int xtrans,int ytrans,int ztrans,int alpha,FLOAT zrot)
{
	this->AnimType = AnimType;
	this->dwStartTick = dwStartTick;
	this->dwDuration = dwDuration;
	data.plot.clrBack = clrBack;
	data.plot.clrKey = clrKey;
	data.plot.rcFrom = rcFrom;
	data.plot.mFrom.xtrans = xtrans;
	data.plot.mFrom.ytrans = ytrans;
	data.plot.mFrom.ztrans = ztrans;
	data.plot.mFrom.alpha = alpha;
	data.plot.mFrom.zrot = zrot;
	data.plot.iInterpolate = INTERPOLATE_COS;
}

CAnimJobUI::~CAnimJobUI(void)
{
}
